package com.cloud.admin.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Name Config
 * @Description
 * @Author douhaichao
 * @Date 2019/3/14 14:45
 * @Version 1.0
 **/
@AllArgsConstructor
@Data
@NoArgsConstructor
@Component
public class Config {
    @Value("${webSite}")
    private String webSite;

    @Value("${staticSite}")
    private String staticSite;

    @Value("${staticVersion:1}")
    private String staticVersion;

    @Value("${defaultPageSize:20}")
    private String defaultPageSize;

    @Value("${imgUrl}")
    private String imgUrl;

    @Value("${isDebug:0}")
    private Integer isDebug;

    @Value("${sys.index.skinName}")
    private String skinName;

    @Value("${sys.user.initPassword}")
    private String initPassword;

    @Value("${sys.user.initAvatar}")
    private String initAvatar;

    //系统信息
    @Value("${yaoxi.name:'北京尧曦未来科技有限公司'}")
    private String yaoxiName;
    @Value("${yaoxi.systemName:'尧曦未来管理系统'}")
    private String yaoxiSystemName;



}
